package com.oms.web.contronller;


import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import com.oms.service.ProvinceService;

public class HelloWorld {
	
	@Autowired
	private ProvinceService provinceServiceInter;
	
	/**
	 * 使用@RequestMapping 朱姐来映射请求的URL
	 * @return
	 */
	@RequestMapping("/helloworld")
	public String hello(HttpServletRequest request){
		System.out.println("hello world");
//		getprovinceServiceInter().addProvince();
//		List<ProvinceForm> list=provinceServiceInter.findAllProvince();
//		request.setAttribute("list", list);
		return "hello";
	}
			

	
	
	
}
